package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: zhangzhe
 * @Date: 2023/9/16
 */
@Data
@TableName(value = "sys_task_plan_detail")
@ApiModel("任务计划人员关联表")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysTaskPlanDetail {

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("任务计划人员关联表id")
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @TableField(exist = false)
    @ApiModelProperty("用户名称")
    private String userName;

    @ApiModelProperty("计划任务id")
    private Long planId;

    @ApiModelProperty("是否完成0：未完成，1：完成")
    private Integer finish;

    @ApiModelProperty("状态  0：删除，1：启用")
    private Integer state;

}
